﻿using System;
using Abp.Application.Services.Dto;
using Abp.AutoMapper;

namespace Abp.Notifications
{
    [AutoMap(typeof(UserNotification))]
    public class UserNotificationExtend : EntityDto<Guid>, IUserIdentifier
    {
        /// <summary>
        /// TenantId.
        /// </summary>
        public int? TenantId { get; set; }

        /// <summary>
        /// User Id.
        /// </summary>
        public long UserId { get; set; }

        /// <summary>
        /// Current state of the user notification.
        /// </summary>
        public UserNotificationState State { get; set; }

        /// <summary>
        /// The notification.
        /// </summary>
        public TenantNotification Notification { get; set; }

        /// <summary>
        /// 用户名字
        /// </summary>
        public string Name { get; set; }
    }
}
